import { FormRule } from 'tdesign-vue-next';

export interface FormItem {
  siteTitle: string;
  seoTitle: string;
  seoKeywords: string;
  seoDescription: string;
}

export const FORM_DATA: FormItem = {
  siteTitle: '',
  seoTitle: '',
  seoKeywords: '',
  seoDescription: '',
};

export const FORM_RULES: Record<string, FormRule[]> = {
  siteTitle: [{ required: true, trigger: 'change' }],
};
